<?php
declare (strict_types = 1);

namespace app\study\controller;

class Debug
{
    public function index()
    {
        $Debug = new \study\sys\Debug();
        print_r($Debug);
        $Debug->remark('start', 'time');
        $Debug->remark('end', 'time');
        $ret = $Debug->getRangeTime('start', 'end');
        print_r($ret);
        return 'ok';
        
    }

    public function hello($name = 'ThinkPHP6')
    {
        $Study = new \study\Study();
        print_r($Study);
        return $Study->hello($name);
    }
}
